package com.aaa.ssm.service;

import com.aaa.ssm.entity.Department;
import com.aaa.ssm.util.Page;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface DepartmentService {
    PageInfo queryByPage(Page<Department> page);
    List<Department> queryByParam(Department department);
    Department queryById(Integer departmentId);
    int add(Department department);
    int update(Department department);
    int delete(Integer departmentId);
}
